.el-table {
  &:before {
    height: 0 !important;
  }
  th.is-leaf {
    border-bottom: none !important;
  }
  td.el-table__cell {
    border-bottom: 1px solid #f7f7f8 !important;
    // border-top: 1px solid #f7f7f8 !important;
    border-right: none;
    &:last-child {
      border-right: none;
    }
  }
  thead {
    th {
      font-size: 14px !important;
      font-family: PingFangSC-Regular !important;
      font-weight: 400 !important;
      color: rgba(166, 166, 166, 1) !important;
      padding: 8px 0px;
      height: 10px;
      background: rgb(241, 241, 241) !important;
    }
  }
}
.el-table--border th,
.el-table__fixed-right-patch {
  border-bottom: 1px solid #ebeef5 !important;
}
.el-table--group::after,
.el-table--border::after {
  width: 0;
}
.el-table--border {
  border-right: none !important;
  border-bottom: none !important;
  border-left: none !important;
  border-top: none !important;
}
.el-table--border th:last-child {
  border-right: none;
}
.el-table__fixed-right:before,
.el-table__fixed:before {
  height: 0 !important;
}

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-button--medium.el-button--primary {
  padding: 10px 30px;
}
.el-button.search-btn {
  float: right !important;
  padding: 10px 30px !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none !important;
}

.cell {
  .el-tag {
    margin-right: 0px !important;
  }
}

.small-padding {
  .cell {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 0 !important;
    width: auto !important;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;
    .el-tag {
      margin-right: 0px;
    }
  }
}

//暂时性解决dialog 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}
.el-dialog {
  margin: 0 auto !important;
  margin-top: 0 !important;
  .el-dialog__header {
    border-bottom: 1px solid #e2e3e8 !important;
    padding: 16px 20px 16px 20px !important;
    .el-dialog__title {
      font-size: 16px !important;
      font-family: PingFangSC-Medium !important;
      font-weight: 700 !important;
      color: #333333 !important;
    }
  }
  .el-dialog__body {
    padding: 10px 20px !important;
    max-height: 98vh;
    overflow: auto;
    .el-form {
      padding-right: 10px;
      overflow: auto;
    }
  }
  .el-dialog__footer {
    padding: 0 20px 20px 20px !important;
  }
}

//文章页textarea修改样式
.article-textarea {
  textarea {
    padding-right: 40px;
    resize: none;
    border: none;
    border-radius: 0px;
    border-bottom: 1px solid #bfcbd9;
  }
}

//element ui upload
.upload-container {
  .el-upload {
    width: 100%;
  }
}

//dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}
.el-checkbox__label {
  font-weight: bold;
}

.el-form-item.is-success .el-input__inner,
.el-form-item.is-success .el-input__inner:focus,
.el-form-item.is-success .el-textarea__inner,
.el-form-item.is-success .el-textarea__inner:focus {
  border-color: #e2e3e8 !important;
}
.el-tooltip__popper {
  max-width: 50% !important;
}
.el-tree-node__content:hover {
  background-color: rgba(24, 165, 253, 0.1) !important;
}
.el-tree-node:focus > .el-tree-node__content {
  background-color: rgba(24, 165, 253, 0.1) !important;
}
.el-checkbox-group.can-check-all {
  display: inline-block;
  margin-left: 30px;
}

.el-image {
  width: 100%;
  height: 100%;
  .image-slot {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #909399;
  }
}
